package cn.jianyongjie.basic.service;

import cn.jianyongjie.basic.dto.VerificationCode;

/**
* @Description: TODO
* @Author: JianYongJie
* @Version: 1.0
* @Date:  2022/5/7 17:23
*/
public interface IVerifyCodeService {


    /*
    * @Title: IVerifyCodeService
    * @Description: 获取图形验证码
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/7 17:24
    * @Parameters: * @param
    * @Return java.lang.String
    */
    String getVerificationCode(String key);

    /*
    * @Title: IVerifyCodeService
    * @Description: 发送验证码
    * @Author: JianYongJie
    * @Version: 1.0
    * @Date:  2022/5/8 14:14
    * @Parameters: * @param verificationCode
    * @Return void
    */
    void sendSmsCode(VerificationCode code);
}
